import html.Common;
import html.Page;
import html.ParseErrors;
import html.elements.Doctype;
import org.openqa.selenium.WebDriver;

import java.io.*;

public class qw
{
	public static void main(String[] args) throws IOException, UnsupportedEncodingException
	{
		ParseErrors errors=new ParseErrors();

		BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream("src\\temp\\article.html"), "UTF-8"));
		String str,finalString="";
		while ((str=br.readLine())!=null)
			finalString+=str;

		HtmlVerify.Verify(finalString, errors);

		errors.printAllErrors();
	}
}
